'use strict';

module.exports = app => {
  const { router, controller } = app;
  //关注
  router.post('/api/porfile/follow', app.middleware.loginChecks.loginCheck, controller.profile.follow);

  //取消关注
  router.post('/api/profile/unFollow', app.middleware.loginChecks.loginCheck, controller.profile.unFollow);
}